//
//  News.m
//  PhotoSetTest
//
//  Created by 金玉龙 on 15/12/13.
//  Copyright © 2015年 jinyulong. All rights reserved.
//

#import "News.h"

@implementation News

+ (News*)newsWithDictionary:(NSDictionary*)dictionary{
    News *new = [News new];
    new.setname = dictionary[@"setname"];
    new.createdate = dictionary[@"createdate"];
    new.imgsum = dictionary[@"imgsum"];
    new.pics = dictionary[@"pics"];
    new.setid = dictionary[@"setid"];
    return new;
}


@end
